### Push Content (PC)

The Display push type’s Push Content has to be a WML file. This WML file can contain any of the Web browser elements and features. See Chapter 7: Web Browser for 9620 and 9630 IP Telephones and Chapter 8: Web Applications for more details on elements and tags the Avaya IP Telephones support.

The outline of the “lunch_menu.wml” file (PC) from the Hotel example is as follows:

    <!– Server Sends Response – Push Content (PC) - File in the <Push...<go href Url> -->

    <?xml version="1.0"?>

    <wml>

    <card id=”lunch” title=”Gourmet Seafood Menu”>

    <p>

    <select name=”selection” multiple=”true”>

    	   <option value=”bouillabaisse”>Lobster Bouillabaisse</option>

    	   <option value=”carpaccio”>Red Snapper Carpaccio</option>

    	   <option value=”tuna”>Sushi Grade Blue Fin Tuna</option>

    	   <option value=”canelloni”>Sea Urchin and Basil Canelloni</option>

    	   <option value=”bass”>Atlantic Sea Bass with Cauliflower</option>

    </select>

    <a href=”wtai://wp/mc;5551212”>Call Concierge</a>

    </p>

    <do type=”accept” name=”submit” label=”Order”>

    <go href=”submit_form.php” method=”get”/>

    </do>

    <do type=”prev” label=”Cancel”>

    <prev/>

    </do>

    <do type=”accept” name=”home” label=”Home”>

    <go href=”home.wml”/>

    </do>

<do type=”accept” name=”help” label=”More”>

    <go href=”help.wml”/>

    </do>

    </card>

    </wml>

The XML parser parses the WML file. Depending on the priorities and state of the telephone, the Push Content displays as shown in Figure 8, with an alert of two ring pings.

Figure 8: Hotel Lunch Menu Display

NOTE: Invalid WML Display push error messages are not displayed to the user.